registerTests([
function Except_Test_0()
{
	var myArray = [1, 2, 3];
	var result = myArray.Except("x=> x == 2");
	
	Assert.areEqual(result.length, 2, "Expected 2 but got " + result.length);
	Assert.areEqual(result[0], 1, "Expected 1 but got " + result[0]);
	Assert.areEqual(result[1], 3, "Expected 3 but got " + result[1]);
},
function Except_Test_1()
{
	var myArray = [1, 2, 3];
	var result = myArray.Except("x => x % 2 == 1");
	
	Assert.areEqual(result.length, 1, "Expected 1 but got " + result.length);
	Assert.areEqual(result[0], 2, "Expected 2 but got " + result[0]);
}
]);